package com.atguigu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * ProviderApplication
 *
 * @Author: 马伟奇
 * @CreateTime: 2021-03-03
 * @Description:
 * @EnableEurekaClient:表示开启eureka客户端
 * @EnableDiscoveryClient:表示开启客户端
 */
@SpringBootApplication
@EnableDiscoveryClient
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class,args);
    }
}